package com.cgmnx.admin.dao.entity.rbac;

import com.cgmnx.admin.common.bean.BaseModel;
import com.cgmnx.admin.model.enums.rbac.OperationType;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 操作日志
 */
@Setter
@Getter
@ToString
public class OperationLogEntity extends BaseModel {

    /**
     * 主键
     */
    private Integer id;

    /**
     * 操作人姓名
     */
    private String operatorName;

    /**
     * 访问IP
     */
    private String ip;

    /**
     * 操作类型
     */
    private OperationType operationType;

    /**
     * 操作内容
     */
    private String content;

    /**
     * 业务ID
     */
    private Integer operationId;


}
